package com.ruoyi.camp.mapper;

import java.util.List;
import com.ruoyi.camp.domain.CFacility;

/**
 * facilityMapper接口
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public interface CFacilityMapper 
{
    /**
     * 查询facility
     * 
     * @param facilityId facility主键
     * @return facility
     */
    public CFacility selectCFacilityByFacilityId(String facilityId);

    /**
     * 查询facility列表
     * 
     * @param cFacility facility
     * @return facility集合
     */
    public List<CFacility> selectCFacilityList(CFacility cFacility);

    /**
     * 新增facility
     * 
     * @param cFacility facility
     * @return 结果
     */
    public int insertCFacility(CFacility cFacility);

    /**
     * 修改facility
     * 
     * @param cFacility facility
     * @return 结果
     */
    public int updateCFacility(CFacility cFacility);

    /**
     * 删除facility
     * 
     * @param facilityId facility主键
     * @return 结果
     */
    public int deleteCFacilityByFacilityId(String facilityId);

    /**
     * 批量删除facility
     * 
     * @param facilityIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCFacilityByFacilityIds(String[] facilityIds);
}
